//
//
//


#ifndef CSERVERAVATAR_H

#define CSERVERAVATAR_H

#include <string.h>
#include <vector3d.h>
#include <irrlicht.h>

#include "../action_client/action_status.h"

class CServerAvatar
{
public:
	CServerAvatar();

	virtual	bool	IsAlive()	{ return m_dfHP > 0; }
	
	virtual	double	GetHP()	{ return	m_dfHP; }
	virtual	double	GetMaxHP()	{ return	m_dfMaxHP; }
	virtual	double	GetMP()	{ return	m_dfMP; }
	virtual	double	GetMaxMP()	{ return	m_dfMaxMP; }
protected:
private:
	friend class CGameInstance;
	friend class CActionServer;

	irr::core::stringc m_sName;
	irr::core::vector3df	m_v3Position;
	ActionStatus	m_status;
	double	m_dfHP;
	double	m_dfMaxHP;
	double	m_dfMP;
	double	m_dfMaxMP;

	int m_iSeatID;

	bool	m_bInGame;

	int m_iTime;
};


#endif

